import { createWebHashHistory,createRouter } from "vue-router";
import Home from "../views/Home.vue"
import Login from "../views/Login.vue"
import Register from "../views/Register.vue"
import depart from "../views/depart/department.vue"




const routes = [
    {
        path:"/",
        name:Home,
        component:Home
    },
    {
        path:"/login",
        name:Login,
        component:Login
    },
    {
        path:"/res",
        name:Register,
        component:Register
    },
    {
        path:"/dep",
        name:depart,
        component:depart
    },



]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})


export default router









